﻿using LYR_RPA.models.project;
using LYR_RPA.service;
using System;
using System.Collections.ObjectModel;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Media.Imaging;

namespace LYR_RPA.pages.home
{
    /// <summary>
    /// TestPage.xaml 的交互逻辑
    /// </summary>
    public partial class TestPage : Page
    {
        private readonly WebSocketClient WebSocketClient;
        public TestPage()
        {
            InitializeComponent();
            WebSocketClient = WebSocketClient.Instance;

        }

        private void send_Click(object sender, RoutedEventArgs e)
        {

            WebSocketClient.SendMessage(text.Text);
        }
    }
}
